package com.ztgf.shopping.models.vo.shop;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ztgf.shopping.models.dto.shop.ShopCategoryRelationAuditDTO;
import com.ztgf.shopping.models.dto.shop.ShopQualificationAuditDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
 * 新增品牌审核VO
 *
 * @author zhanghualang
 * @Date 2020-6-17 14:35:39
 */
@Data
public class ShopInfoAuditNewBrandVO implements Serializable{
    @ApiModelProperty(value = "主键 店铺审核表ID")
    private Long id;
    @ApiModelProperty("更新时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")//gosn
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//输入字符串
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")//fastjson
    @TableField("update_time")
    protected Date updateTime;
    @ApiModelProperty(value = "公司名称")
    private String name;
    @ApiModelProperty(value = "店铺名称")
    private String shopName;
    @ApiModelProperty(value = "店铺ID")
    private Long shopId;

    @ApiModelProperty(value = "品牌ID")
    private Long brandId;

    @ApiModelProperty(value = "品牌名称")
    private String brandName;

    @ApiModelProperty(value = "品牌Logo")
    private String logoUrl;

    @ApiModelProperty(value = "品牌是否存在 0存在。1不存在")
    private Integer type;

    @ApiModelProperty(value = "品牌相关资质列表")
    private List<ShopQualificationAuditDTO> brandQualificationAuditDTOList;

    @ApiModelProperty(value = "品牌类目")
    private List<ShopCategoryRelationAuditDTO> shopCategoryRelationAuditDTOList;

    @ApiModelProperty(value = "类目树")
    private List<CommodityCategoryTreeVO> commodityCategoryTreeVOList;
}
